From: Raimond Spekking Date: Thu, 1 Jan 2009 13:15:29 +0000 (+0000) Subject: Fix PHP fatal error in /usr/local/apache/common-local/php-1.5/includes/FileDeleteFor... X-Git-Tag: 1.31.0-rc.0~43639 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=f50ac863a2c93c626f2dfea596d41598ab6de2bb;p=lhc%2Fweb%2Fwiklou.git Fix PHP fatal error in /usr/local/apache/common-local/php-1.5/includes/FileDeleteForm.php line 116: Regression from r45159 --- diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index b7c544c6a2..66086b0f49 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -113,7 +113,7 @@ class FileDeleteForm { global $wgRequest; if( $wgRequest->getCheck( 'wpWatch' ) ) { $article->doWatch(); - } elseif( $this->mTitle->userIsWatching() ) { + } elseif( $title->userIsWatching() ) { $article->doUnwatch(); } wfRunHooks('ArticleDeleteComplete', array(&$article, &$wgUser, $reason, $id));